import { defineStore } from "pinia";
import {ref} from "vue"

export const useHistoryStore = defineStore(
  "history",
  () => {
    const histories = ref([])
	
    return { histories };
  },
  {
    unistorage: true, // 开启后对 state 的数据读写都将持久化
  },
);